<%@ page import="java.util.Map,java.util.Set" language="java" contentType="text/html; charset=ISO-8859-1"
   autoFlush="true" buffer="124kb" errorPage="error.jsp"  session="false"%>
 <%@taglib prefix="c" uri="http://java.sun.com/jstl/core"%> 
 <%@taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt"%> 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<c:set></c:set>
 <c:forEach var="" items="">

 <c:choose>
  <c:when test=""></c:when>
    <c:when test=""></c:when>
   <c:otherwise></c:otherwise>
 </c:choose>


</c:forEach>

  


 <!--  static include every line of header.jsp goes inside servce method of index.jsp -->
<%-- <%@include file="header.jsp" %> --%>
<jsp:include page="header.jsp"></jsp:include>
<!-- Same as request dispatcher in servlet -->
<%-- <jsp:forward page="header.jsp"></jsp:forward> --%>
    Hello welcome to my index.jsp page.
      <% 
      int x=30; ///redeclaration..
   int y=   sum(12, 13);
     // out.println("Variable"+y);
      %> 
      
       <!-- Scriptlet -->
      <%!
      int temp;
      public int sum(int x, int y ){
    	  return x+y;
      }
       public void jspInit(){
    	 System.out.println("inside jsp initi method ");
       }
       
      %>  <!--  declaration  -->
      
      <%="Variable :"+y%>
      
       <!-- expression  -->
       <% if(3<2){ %>
      
       ${4/2}
         
       anything you write here goes inside _jspService() .
       
        <%} %>
      If jsp tags are not enough then we use JSTL library. (Jsp standard tag library) 
</body>
</html>